Reference | Text


Syntax
Text()

DescriptionThe text() command in NodeBox returns a Text object representing the text being drawn. This object has a number of properties to manipulate:
Properties
txt.x
txt.y
txt.text
txt.metrics
txt.path
txt.copy()
The metrics property is a tuple containing the width and height of the text block.